(function(){
      // 移动端菜单切换
        const menuToggle = document.getElementById('menu-toggle');
        const mobileMenu = document.getElementById('mobile-menu');
        let menuOpen = false;
        menuToggle.addEventListener('click', function () {
            if (menuOpen) {
                mobileMenu.classList.remove('open');
                menuToggle.classList.remove('open');
            } else {
                mobileMenu.classList.add('open');
                menuToggle.classList.add('open');
            }
            menuOpen = !menuOpen;
        });
})();
